package mysql

import (
	"github.com/zeromicro/go-zero/core/stores/cache"
	"github.com/zeromicro/go-zero/core/stores/sqlx"
)

var _ PmsSkuInfoModel = (*customPmsSkuInfoModel)(nil)

type (
	// PmsSkuInfoModel is an interface to be customized, add more methods here,
	// and implement the added methods in customPmsSkuInfoModel.
	PmsSkuInfoModel interface {
		pmsSkuInfoModel
	}

	customPmsSkuInfoModel struct {
		*defaultPmsSkuInfoModel
	}
)

// NewPmsSkuInfoModel returns a model for the database table.
func NewPmsSkuInfoModel(conn sqlx.SqlConn, c cache.CacheConf, opts ...cache.Option) PmsSkuInfoModel {
	return &customPmsSkuInfoModel{
		defaultPmsSkuInfoModel: newPmsSkuInfoModel(conn, c, opts...),
	}
}
